Is it possible to narrow the type of Value of an object by determining the value of Key with an if s